<form class="form-inline" role="form">
  <div class="form-group">
    <input type="text" class="form-control" id="exampleInputEmail2" placeholder="用户名" ng-model="username1">
  </div>
  <div class="form-group">
    <input type="password" class="form-control" id="exampleInputPassword2" placeholder="密码" ng-model='password1'>
  </div>
  <button type="submit" class="btn btn-default" ng-click="userDo('userAdd')">添加用户</button>
  <button type="submit" class="btn btn-default" ng-click="userDo('userPassReset')">重置密码</button>
  <span class="alert">{{col1Msg}}</span>
</form>

<form class="form-inline" role="form">
  <div class="form-group">
    <input type="text" class="form-control" id="exampleInputEmail2" placeholder="用户名" ng-model='username2'>
  </div>
  <button type="submit" class="btn btn-default" ng-click=userDo('userDel')>删除用户</button>
  <button type="submit" class="btn btn-default" ng-click="userDo('setAdmin')">设为管理员</button>
  <button type="submit" class="btn btn-default" ng-click="userDo('cancelAdmin')">取消管理员</button>
  <span class="alert">{{col2Msg}}</span>
</form>
